package core;
import java.util.HashMap;
import java.util.Map;

import core.mixins.*;

public deployed cclass InvBasicoDeployment {
	static private Map sensorMapping = new HashMap(); 
	  
	static 
	{
		try 
		{		
			// User <-> sensor Mapping			
			sensorMapping.put("sensor_1", new BasicoMixin());
			
		}		
		catch(Throwable t) 
		{
			t.printStackTrace();
		}
	}
	
	void around(UsaSensor s) :
		(execution(void UsaSensor.run(String [])) && this(s)) 
	{
		deploy (sensorMapping.get(s.getIdSensor())) 
		{
			proceed(s);
		}
	}

}
